//
//  AppDelegate.h
//  Finance
//
//  Created by cheng xiang on 12-12-9.
//  Copyright (c) 2012年 cheng xiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate,UIAlertViewDelegate,UINavigationControllerDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (assign, nonatomic) double version;//系统版本
@property (strong, nonatomic) NSString *app_version;//app版本
@property (strong, nonatomic) NSString *autoRefresh;//是否自动更新
@property (strong, nonatomic) NSString *sendNotification;//是否推送信息
@property (strong, nonatomic) NSString *trackViewURL;//app itunes地址
@property (strong,nonatomic)  NSString *loginSessionID; //登录的session id
@property (strong,nonatomic)  NSString *loginName; //登录的用户名
@property (strong,nonatomic)  NSString *registercode; //注册验证码
@property (strong,nonatomic)  NSString *registerseq; //注册验证码序号
- (void)onCheckVersion;//检查软件是否需要更新
-(void)changeToolBarBackground;

- (void)hideTabBarWithoutAnimation:(UITabBarController *)tabbarcontroller;
- (void)hideTabBar:(UITabBarController *) tabbarcontroller;
- (void)showTabBar:(UITabBarController *) tabbarcontroller;
- (void)showTabBarWithoutAnimation:(UITabBarController *)tabbarcontroller;

- (BOOL)tabbarShowInView:(UITabBarController *)tabbarcontroller;

-(NSDictionary*)readplist;
-(void)writeplist:(NSString*)strkey PlistValue:(NSString*)strvalue;
@end
